package tom.oauth2.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ZHUFEIFEI
 */
@RestController
public class IndexController {

    @GetMapping("/index")
    public Object hi() {
        return "this is index page.";
    }

    @GetMapping("/order")
    public Object home() {
        return "this is order page.";
    }
}
